<?php
namespace App\Http\ViewComposers;


use Illuminate\View\View;

class ShareComposer
{
    public function __construct()
    {

    }

    /**
     * Bind data to the view.
     *
     * @param  \Illuminate\View\View  $view
     * @return void
     */
    public function compose(View $view)
    {
        $view->with('user', auth()->user());
    }
}
